﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Daemon.Model
{
    [Table("admin_user")]
    public partial class AdminUser
    {
        [Key]
        [Column("Id")]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]

        public int Id { get; set; }

        public string UserName { get; set; }

        public string Password { get; set; }

        public string Avatar { get; set; }

        public bool IsAdmin { get; set; }

        public bool Deleted { get; set; }

        public DateTime AddTime { get; set; }

        public DateTime UpdateTime { get; set; }

        public bool Deactivated { get; set; }

        public string Email { get; set; }

        public string Description { get; set; }

        public int? Province { get; set; }

        public int? City { get; set; }

        public string Address { get; set; }

        public string Phone { get; set; }

        public bool IsTeacher { get; set; }

        public int? SchoolId { get; set; }
        public string OpenId { get; set; }
    }
}
